<template>
  <div>
     <div class="config">
        <div class="back" onclick="window.history.go(-1)"><img src="../assets/images/back.png" alt=""></div>
        <p>系统消息</p>
    </div>
    <div class="header">
        
    </div>
      <div class="box"> 
         <img src="../assets/images/avatar.png" alt="" class="avatar">
         <p class="time">2012.12.12</p>
         <div class="con">
             拍戏
         </div>
          
  
     </div>
 


  </div>
</template>

<script>
export default {
    name: "messageDetail",
    data() {
        return {};
    },
    beforeCreate() {
        document.getElementsByTagName("body")[0].style.background = "#ececec";
    }
};
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
.header{
    height: 120px;
    background: #5aa0c8;
    text-align: center;
}

.box {
    width: 94%;
    margin-left: 3%;
    border-radius: 3px;
    background: #fff;
    margin-top: -40px;
    padding-bottom: 60px;
    padding-top: 60px;
    position: relative;
}
.row {
    height: 50px;
    background: #fff;
    position: relative;
    border-bottom: 1px solid #f2f2f2;
    margin: 8px;
}

.row .gengduo {
    position: absolute;
    height: 12px;
    top: 19px;
    right: 5px;
}
.row span {
    position: absolute;
    height: 12px;
    top: 13px;
    right: 17px;
}

.row p {
    position: absolute;
    left: 10px;
    top: 13px;
    font-size: 14px;
}
.box .avatar{
    position: absolute;
    width:80px;
    top:-40px;
    left: 50%;
    margin-left: -40px;
    border-radius: 50px;
    box-shadow: 0px 1px 3px 1px #ddd;
}
.box .time{
    position: absolute;
    right: 20px;
    top:20px;
    color: #999;
    font-size: 12px;
}

.con{
    padding: 10px;
    color: #666;
}


</style>
